//
//  WABusinessCell.m
//  WalkiOS
//
//  Created by luqiuan on 2019/10/21.
//  Copyright © 2019 Chenmuzhou. All rights reserved.
//

#import "WABusinessCell.h"

@implementation WABusinessCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)layoutSubviews{
    [super layoutSubviews];
    [self cornerTopLeftAndTopRight:7 byRoundingCorners:UIRectCornerBottomLeft|UIRectCornerBottomRight ];
}

- (void)setModel:(WACompanyModel *)model{
    _model = model;
    self.nameLB.text = model.name;
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:model.image] placeholderImage:[UIImage imageNamed:@"default"]];
}
@end
